package edu.hpu.service.impl;

import edu.hpu.dao.UserInfoDao;
import edu.hpu.model.UserInfo;
import edu.hpu.service.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 三分恶
 * @Date 2020/6/20
 * @Description
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Resource
    private UserInfoDao userInfoDao;
    @Override
    public UserInfo findByUsername(String username) {
        System.out.println("UserInfoServiceImpl.findByUsername()");
        return userInfoDao.findByUsername(username);
    }
}
